package com.example.buildtable.pojo;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(autoResultMap = true)
public class GoodsRecycle {
    @TableId(type = IdType.AUTO)
    private Integer goodsRecycleId;
    @TableField(value = "goods_id", target = Goods.class)
    private Integer goodsId;
    @TableField(relation = Relation.MANY_TO_MANY)
    private Goods goods;
    private Integer status;
    @TableField(fill = FieldFill.INSERT)
    private String createBy;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    //@TableField(fill = FieldFill.UPDATE)
    private String deleteBy;
    //@TableField(fill = FieldFill.UPDATE)
    private Date deleteTime;
    private String remark;
}
